DXL Attribute "Contains"

Hi,
I'm working on creating a filter within a DXL program to filter by a certain CR. I'm collecting a value for a CR, and trying to filter out the CR column that contains the desired CR. What command should I use? like, I have:

Filter f1 = attribute "CR" (?) mix

 


(Where "mix" is the desired CR.)
What should I put in place of the (?) ?
Thanks

 


josiah820 - Mon Jun 11 13:24:28 EDT 2012

Re: DXL Attribute "Contains"
SystemAdmin - Mon Jun 11 18:40:53 EDT 2012

Straight out of the DXL reference manual which can be found under the Help menu in the DOORS Explorer and Formal Modules - section Display Control > Filters > Contains function.
 

Module m = current
string mix = "CR-XYZ" 
Filter f = contains(attribute "CR", mix, false) 
set f 
filtering on

 

 


Paul Miller
Melbourne, Australia